# encoding: utf-8
# module PyQt5.QtGui
# from /usr/lib/python3/dist-packages/PyQt5/QtGui.cpython-35m-x86_64-linux-gnu.so
# by generator 1.146
# no doc

# imports
import PyQt5.QtCore as __PyQt5_QtCore


from .QSurface import QSurface

class QOffscreenSurface(__PyQt5_QtCore.QObject, QSurface):
    """ QOffscreenSurface(QScreen screen=None) """
    def create(self): # real signature unknown; restored from __doc__
        """ QOffscreenSurface.create() """
        pass

    def destroy(self): # real signature unknown; restored from __doc__
        """ QOffscreenSurface.destroy() """
        pass

    def format(self): # real signature unknown; restored from __doc__
        """ QOffscreenSurface.format() -> QSurfaceFormat """
        return QSurfaceFormat

    def isValid(self): # real signature unknown; restored from __doc__
        """ QOffscreenSurface.isValid() -> bool """
        return False

    def requestedFormat(self): # real signature unknown; restored from __doc__
        """ QOffscreenSurface.requestedFormat() -> QSurfaceFormat """
        return QSurfaceFormat

    def screen(self): # real signature unknown; restored from __doc__
        """ QOffscreenSurface.screen() -> QScreen """
        return QScreen

    def screenChanged(self, *args, **kwargs): # real signature unknown
        """ QOffscreenSurface.screenChanged[QScreen] [signal] """
        pass

    def setFormat(self, QSurfaceFormat): # real signature unknown; restored from __doc__
        """ QOffscreenSurface.setFormat(QSurfaceFormat) """
        pass

    def setScreen(self, QScreen): # real signature unknown; restored from __doc__
        """ QOffscreenSurface.setScreen(QScreen) """
        pass

    def size(self): # real signature unknown; restored from __doc__
        """ QOffscreenSurface.size() -> QSize """
        pass

    def surfaceType(self): # real signature unknown; restored from __doc__
        """ QOffscreenSurface.surfaceType() -> QSurface.SurfaceType """
        pass

    def __init__(self, QScreen_screen=None): # real signature unknown; restored from __doc__
        pass


